# wget -O /tmp/code-server.tar.gz https://github.com/coder/code-server/releases/download/v4.17.1/code-server-4.17.1-linux-amd64.tar.gz

with open("/tmp/code-server.tar.gz", "rb") as sf, open(
    "/tmp/cloned-code-server.tar.gz", "wb"
) as df:
    for line in sf:
        df.write(line)
